import {Pipe, PipeTransform} from '@angular/core';

@Pipe({
    name: 'kylinInfoState'
})
export class InfoStatePipe implements PipeTransform {

    translateData = {
        'finished': '已完成信息',
        'waitCityHandle': '待市级审核信息',
        'waitProvinceAgree': '待省级下达',
        'waitProvinceHandle': '待省级审核信息',
        'waitSubmit': '待提交信息'
    };

    transform(value: any, args?: any): any {
        return this.translateData[value];
    }

}
